#ifndef	__ITEM_H__
#define	__ITEM_H__

#include "list.h"

struct item {
	int	id;
	char	*name;
	int	owner;
	int 	pos;
	int	frame;
	int	amount;
	int	hardiness_max;
	int	hardiness;
	int	type;
	char	*shape;

	struct list_head list;
};

struct item * new_item(	int id, char *name, int	owner, int pos,
			int frame, int amount, int hardiness_max,
			int hardiness, int type, char *shape);

#endif
